package com.futu.ai.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 七牛云配置信息
 */
@Component
public class QiniuConfig {
    /**
     * 七牛云AccessKey
     */
    public static String ACCESS_KEY;
    
    /**
     * 七牛云SecretKey
     */
    public static String SECRET_KEY;
    
    /**
     * 七牛云空间名称
     */
    public static String BUCKET_NAME;
    
    /**
     * 七牛云域名
     */
    public static String DOMAIN;
    
    @Value("${qiniu.access-key:a1eY3iMmqD8iYXglyA8t3xx0IRsq3tCDzhCFPJ7L}")
    public void setAccessKey(String accessKey) {
        ACCESS_KEY = accessKey;
    }
    
    @Value("${qiniu.secret-key:OLiBNJcCrOWYKHlB2TVXcWZeE-ikvRe_c6B32GRu}")
    public void setSecretKey(String secretKey) {
        SECRET_KEY = secretKey;
    }
    
    @Value("${qiniu.bucket-name:luyoua}")
    public void setBucketName(String bucketName) {
        BUCKET_NAME = bucketName;
    }
    
    @Value("${qiniu.domain:http://sy3n2d1n7.hb-bkt.clouddn.com/}")
    public void setDomain(String domain) {
        DOMAIN = domain;
    }
} 